home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn RISC PD-CD 1
/
Acorn RISC PD-CD 1.iso
/
schools
/
_transform
/
oddments
/
tvar
< prev
next >
Wrap
Text File
|
1991-10-13
|
2KB
|
42 lines
Surjit Lidder
List of variables:
Line 10 : REM>!Runimage
used so when ever I want to save the
programme all I have to do is type SAVE.
Line 250 : OSCLI("SLOAD !Transform.spritefile")
This is the 'Operating System Command
Line' and here I am loading the sprites from 'Spritefile'
into the SYSTEM SPRITES block of memory.
Line 310 : Here the sprite "titletop" is chosen (SChoose) and plotted
at co-ordinates 200,740.
But with the help of +(SIN(TIME/40)*300), I am able to
move the sprite freely around the screen. This is because
constantly TIME (time from which the computer was
switched on) is changing and so are the co-ordinates at
which the sprite is being plotted.
PLOT&ED just access the sprites from the block of system
sprites memory.
Lines 900-950 &
1050-1110
: File Handling is used and a single byte (BGET) is taken
from the text file (which was produced by !Edit), and then
displayed on the screen using the VDU command.
This process is repeated until the end of the file (EOF) is
reached.
Line 1560 : STRING$(24,"-") produces "-", twenty-four times.
Line 2180 : The whole screen is made the text window again,
the screen is cleared,
the cursor is turned off,
printing is now enabled to be done at the Graphics
cursor (VDU 5).